A Drill-Down Approach for Measuring Maintainability at Source Code Element Level

نویسندگان

  • Péter Hegedüs
  • Tibor Bakota
  • Gergely Ladányi
  • Csaba Faragó
  • Rudolf Ferenc
چکیده

Measuring source code maintainability has always been a challenge for software engineers. To address this problem, a number of metrics-based quality models have been proposed by researchers. Besides expressing source code maintainability in terms of numerical values, these models are also expected to provide explicable results, i.e. to give a detailed list of source code fragments that should be improved in order to reach higher overall quality. In this paper, we propose a general method for drilling down to the root causes of a quality rating. According to our approach, a relative maintainability index can be calculated for each source code element for which metrics are calculated (e.g. methods, classes). The index value expresses the source code element’s contribution to the overall quality rating. We empirically validated the method on the jEdit open source tool, by comparing the results with the opinions of software engineering students. The case study shows that there is a high, 0.68 Spearman’s correlation, which suggests that relative maintainability indices assigned by our method express the subjective feelings of humans fairly well.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Source Code Metrics and Maintainability: A Case Study

Measuring high level quality attributes of operation-critical IT systems is essential for keeping the maintainability costs under control. International standards and recommendations, like ISO/IEC 9126, give some guidelines regarding the different quality characteristics to be assessed, however, they do not define unambiguously their relationship to the low level quality attributes. The vast ma...

متن کامل

An Initial Approach towards Measuring and Characterizing Software Evolution

This paper proposes a number of metrics to assess the maintainability of code. Dominance relations are used to express the complexity of call relations and an assumption is made that when more complex relations are present within a source code module it is harder for an application to be maintained. The paper describes a case study whereby the changes in dominance relations are investigated ove...

متن کامل

Maintainability and Source Code Conventions: An Analysis of Open Source Projects

Maintainability is a desirable property of software, and a variety of metrics have been proposed for measuring it, all based on different notions of complexity. Although these metrics are useful, complexity is only one factor influencing maintainability. Practical experience in software development has led to a set of best practices and coding conventions that are believed to make source code e...

متن کامل

Investigating the Effect of Gamma Ray Source Activity on Down-hole Nuclear Density Tool’s Reading Using Simulation by MCNP Code

Developing well logging methods will increase the applications of logs related to all the other geology sciences. Well logging curves introduce the essential information to evaluate reservoir characterizations, rock type and also formation fluid properties quantitatively. One of the most important parts of drilling and completion operations which affect making decision about the future planes i...

متن کامل

Measurement of Complexity and Comprehension of a Program Through a Cognitive Approach

The inherent complexity of the software systems creates problems in the software engineering industry. Numerous techniques have been designed to comprehend the fundamental characteristics of software systems. To understand the software, it is necessary to know about the complexity level of the source code. Cognitive informatics perform an important role for better understanding the complexity o...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • ECEASST

دوره 60  شماره 

صفحات  -

تاریخ انتشار 2013